﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Tecaher:School
    {
        private string title;
        private int wageno;

        public string Title
        {
            get { return this.title; }
            set { this.title = value; }
        }
        public int Wageno
        {
            get { return this.wageno; }
            set { this.wageno = value; }
        }
        public Tecaher(string name, int id, char gender, int idCard, int phone)
            : base(name, id, gender, idCard, phone)
        {

        }
        public void TTT()
        {
            Console.WriteLine("学生名：{0},学生编号：{1}，性别:{2}，身份证号：{3}，电话号码:{4}，职称:{5}，工资号:{6}",
                name, id, gender, idCard, phone, title, wageno);
        }
    }
}
